$OpenBSD: patch-deps_npm_node_modules_node-gyp_gyp_pylib_gyp_generator_ninja_py,v 1.2 2014/07/10 19:53:30 landry Exp $
--- deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py.orig	Fri May  2 02:47:47 2014
+++ deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py	Thu Jul 10 15:58:13 2014
@@ -2020,7 +2020,7 @@ def GenerateOutputForConfig(target_list, target_dicts,
     master_ninja.rule(
       'copy',
       description='COPY $in $out',
-      command='rm -rf $out && cp -af $in $out')
+      command='rm -rf $out && cp -pf $in $out')
   master_ninja.newline()
 
   all_targets = set()
